<?php
	define ('ANOREXIC_VERSION', '1.0.0 (afterglow)');
	defined ('PREFIX') || define ('PREFIX', '');
	if (! file_exists ($Tmp = PREFIX.'Engine/config.php'))
		if (! file_exists ($Tmp = "$Tmp.dist"))
			throw new ErrorException ('Config file not found.');
	require_once ($Tmp);
	function __autoload ($Class) {require_once (PREFIX."Engine/Classes/$Class.php");}
	function HTML ($Text) {return (htmlspecialchars ($Text, ENT_QUOTES, 'UTF-8'));}
	function E ($Text) {echo (HTML ($Text));}
?>